import request from "@/utils/request";

/**获取合同审批流程预设审批人*/
export function getHTSPLCPerson(businessId) {
  return request({
    url: `/business/process/getHTSPLCPerson/${businessId}`,
    method: "get"
  });
}
/**发起合同审批流程*/
export function startHTSPProcess(data) {
  return request({
    url: "/business/process/startHTSPProcess",
    method: "post",
    data: data
  });
}
/**获取合同变更审批流程预设审批人*/
export function getHTBGSPLCPerson(businessId) {
  return request({
    url: `/business/process/getHTBGSPLCPerson/${businessId}`,
    method: "get"
  });
}
/**发起合同变更审批流程*/
export function startHTBGSPProcess(data) {
  return request({
    url: "/business/process/startHTBGSPProcess",
    method: "post",
    data: data
  });
}
/**获取合同站点清单审批流程预设审批人*/
export function getHTZDQDSPPerson(businessId) {
  return request({
    url: `/business/process/getHTZDQDSPPerson/${businessId}`,
    method: "get"
  });
}
/**发起合同站点清单审批流程*/
export function startHTZDQDSPProcess(data) {
  return request({
    url: "/business/process/startHTZDQDSPProcess",
    method: "post",
    data: data
  });
}
/**获取合同站点清单变更审批流程预设审批人*/
export function getHTZDQDBGSPPerson(businessId) {
  return request({
    url: `/business/process/getHTZDQDBGSPPerson/${businessId}`,
    method: "get"
  });
}
/**发起合同站点清单变更审批流程*/
export function startHTZDQDBGSPProcess(data) {
  return request({
    url: "/business/process/startHTZDQDBGSPProcess",
    method: "post",
    data: data
  });
}
/**获取发起开工预付款审批流程预设审批人*/
export function getKGYFKLCPerson(businessId) {
  return request({
    url: `/business/process/getKGYFKLCPerson/${businessId}`,
    method: "get"
  });
}
/**发起开工预付款审批流程*/
export function startKGYFKProcess(data) {
  return request({
    url: "/business/process/startKGYFKProcess",
    method: "post",
    data: data
  });
}
/**获取工程款支付审核报表审批流程 预设审批人*/
export function getGCKZHSHBBSPLCPerson(businessId) {
  return request({
    url: `/business/process/getGCKZHSHBBSPLCPerson/${businessId}`,
    method: "get"
  });
}
/**发起工程款支付审核报表审批流程*/
export function startGCKZHSHBBSPLCProcess(data) {
  return request({
    url: "/business/process/startGCKZHSHBBSPLCProcess",
    method: "post",
    data: data
  });
}
/**获取工序报验审批流程 预设审批人*/
export function getGXBYSPLCPerson(businessId) {
  return request({
    url: `/business/process/getGXBYSPLCPerson/${businessId}`,
    method: "get"
  });
}
/**发起工序报验报表审批流程*/
export function startGXBYSPLCProcess(data) {
  return request({
    url: "/business/process/startGXBYSPLCProcess",
    method: "post",
    data: data
  });
}
/**获取材料计划审批流程 预设审批人*/
export function getMaterialPlanPerson(businessId) {
  return request({
    url: `/business/process/getJGCSPLCPerson/${businessId}`,
    method: "get"
  });
}
/**发起材料计划报表审批流程*/
export function startMaterialPlanProcess(data) {
  return request({
    url: "/business/process/startJGCSPLCProcess",
    method: "post",
    data: data
  });
}
/**获取甲供材支付报表审批流程 预设审批人*/
export function getPaymentReportFormPerson(businessId) {
  return request({
    url: `/business/process/getJGCBBSPLCPerson/${businessId}`,
    method: "get"
  });
}
/**发起甲供材支付报表报表审批流程*/
export function startPaymentReportFormProcess(data) {
  return request({
    url: "/business/process/startJGCBBSPLCProcess",
    method: "post",
    data: data
  });
}
